﻿<UserControl x:Class="Swan.SwanWakeUp.Controls.AlarmClock"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:uc="clr-namespace:Swan.SwanWakeUp.Controls"
             xmlns:local="clr-namespace:Swan.SwanWakeUp"
             xmlns:jas="clr-namespace:ContentControl3DLib;assembly=ContentControl3DLib"
             xmlns:tb="http://www.hardcodet.net/taskbar"
             mc:Ignorable="d" 
             d:DesignWidth="300">

        <Grid Height="Auto" >
            <Grid.RowDefinitions>
                <RowDefinition Height="300"></RowDefinition>
                <RowDefinition Height="90"></RowDefinition>
                <RowDefinition Height="40"></RowDefinition>
                <RowDefinition Height="40"></RowDefinition>
            </Grid.RowDefinitions>
            <local:AnalogClock x:Name="clock" ></local:AnalogClock>
            <uc:AlarmSetter x:Name="alarmSetter" Grid.Row="1" ></uc:AlarmSetter>
        <Button x:Name="btnSetAlarm" Content="Set the alarm" Grid.Row="2" Margin="10" Click="BtnSetAlarm_Click" />
        <Button Grid.Row="3" Command="jas:ContentControl3D.RotateCommand" Content="Inställningar" HorizontalAlignment="Right" MaxHeight="25" Margin="10" />
    </Grid>
</UserControl>
